projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f5ddc
)
mmc: dw_mmc: reduce timeout detection cycle
author
Xu Ziyuan
<
[email protected]
>
Tue, 19 Jul 2016 01:38:22 +0000
(09:38 +0800)
committer
Simon Glass
<
[email protected]
>
Thu, 28 Jul 2016 02:15:48 +0000
(20:15 -0600)
It's no need to speed 10 seconds to wait the mmc device out from busy
status. 500 milliseconds enough.
Signed-off-by: Ziyuan Xu <
[email protected]
>
Reviewed-by: Jaehoon Chung <
[email protected]
>
Tested-by: Jaehoon Chung <
[email protected]
>
drivers/mmc/dw_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/dw_mmc.c
b/drivers/mmc/dw_mmc.c
index fe2147a226e3c8f946a43c908adbbc306bb17ce9..b58c2824167328151357035b39202f2b78167ea7 100644
(file)
--- a/
drivers/mmc/dw_mmc.c
+++ b/
drivers/mmc/dw_mmc.c
@@
-195,7
+195,7
@@
static int dwmci_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
ALLOC_CACHE_ALIGN_BUFFER(struct dwmci_idmac, cur_idmac,
data ? DIV_ROUND_UP(data->blocks, 8) : 0);
int ret = 0, flags = 0, i;
- unsigned int timeout =
1000
00;
+ unsigned int timeout =
5
00;
u32 retry = 100000;
u32 mask, ctrl;
ulong start = get_timer(0);